﻿@model IEnumerable<VOD.Models.Video>
@{
    Layout=null;
}
<div class="VideoTopList">
    <h3>@ViewBag.TopTitle<span>TOP10</span></h3>
    <ul>
        @{
            var i=1;
            foreach(var video in Model){
                if(i % 2==1){
                    <li><i>@i</i><a href="@Url.Action("Play", "Video", new { id=video.VideoID})" title="@video.Name" target="_blank">@video.Name</a></li>
                }
                else{
                    <li class="odd"><i>@i</i><a href="@Url.Action("Play", "Video", new { id = video.VideoID })" title="@video.Name" target="_blank">@video.Name</a></li>
                }
                i++;
            }
        }
    </ul>
    <a class="more" title="更多" href="#">更多</a>
</div>